﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

  <!--=========================================================================================-->
  <!-- General app resources -->
  <SolidColorBrush x:Key="ActiveSelectionHighlight" Color="#FF699DFF"/>

  <!--=========================================================================================-->
  <!-- Button colors -->
  <LinearGradientBrush x:Key="ButtonBrush" EndPoint="0.5,1" StartPoint="0.5,0">
    <GradientStop Color="#FFB6C8DF" Offset="0"/>
    <GradientStop Color="#FF385C83" Offset="0.5"/>
    <GradientStop Color="#FF234162" Offset="1"/>
    <GradientStop Color="#FF4C6D8F" Offset="0.49"/>
  </LinearGradientBrush>

  <SolidColorBrush x:Key="PlainButtonBorderBrush" Color="#FF1E4E83"/>

  <!--=========================================================================================-->
  <!-- Toolbar resources -->
  <LinearGradientBrush x:Key="ToolbarBrush" EndPoint="0.5,1" StartPoint="0.5,0">
    <GradientStop Color="#FFB6C8DF" Offset="0"/>
    <GradientStop Color="#FF416389" Offset="0.5"/>
    <GradientStop Color="#FF39587B" Offset="1"/>
    <GradientStop Color="#FF4C6D8F" Offset="0.49"/>
  </LinearGradientBrush>
  
  <!--=========================================================================================-->
  <!-- A background brush we use for panels with groups of items shown in rounded borders. -->
  <LinearGradientBrush x:Key="SelectionGroupsBackgroundBrush" StartPoint="0,0" EndPoint="1,0"
                       SpreadMethod="Repeat" MappingMode="Absolute">
    <GradientStop Offset="0" Color="#FFC9CDDE"/>
    <GradientStop Offset="0.3" Color="#FFC9CDDE"/>
    <GradientStop Offset="0.3" Color="#FFB8BDD2"/>
    <GradientStop Offset="1" Color="#FFB8BDD2"/>
    <LinearGradientBrush.Transform>
      <ScaleTransform ScaleX="8" ScaleY="8"/>
    </LinearGradientBrush.Transform>
  </LinearGradientBrush>

  <!--=========================================================================================-->
  <!-- A selection group header font. Designed to be displayed over the brush:
  SelectionGroupsBackgroundBrush-->
  <Style x:Key="SelectionGroupsHeaderTextStyle" TargetType="{x:Type TextBlock}">
    <Setter Property="FontSize" Value="16"/>
    <Setter Property="FontWeight" Value="Bold"/>
    <Setter Property="Foreground" Value="#FF3B3B3B"/>
    <Setter Property="Effect">
      <Setter.Value>
        <DropShadowEffect Direction="90" Color="LightGray" ShadowDepth="1" BlurRadius="0"/>
      </Setter.Value>
    </Setter>
  </Style>

</ResourceDictionary>